<template>
	<div>
		<Tabbar :leftArrow='true' :title="$t('textTrans.注册协议')"></Tabbar>
		<div class="newsCon">
			<!-- <p class="detailsTitle">{{temp.title}}</p> -->
			<div class="detailsDesc">
				<p v-html="temp.register_content"></p>
				<!-- <div class="desc_btm rightEl">
					{{temp.create_time}}
				</div> -->
			</div>
		</div>
	</div>
</template>

<script>
	
	import {
		loginconfig
	} from "@/api/login";
	export default {
		data() {
			return {
				temp: {}
			};
		},
		created() {
			loginconfig().then(res=>{
				this.temp = res
			})
			// this.$i18n.locale=localStorage.getItem('lang');
		 },
		methods: {
			onClickLeft() {
				this.$router.go(-1);
			}
		}
	};
</script>

<style lang='less' scoped>
	.van-nav-bar {
	  background: linear-gradient(
	  270deg, #326964 0%, #326964 100%);
	  /deep/.van-nav-bar__title {
	    color: #ffffff;
	  }
	  /deep/ .van-icon {
	    color: #ffffff;
	  }
	}
	.newsCon {
		color: #333;
		font-size: 13px;
		width:342px;
		margin:10px auto;
		padding: 10px;
		border-radius: 5px;
		background:#F7F7F7 ;
		.detailsTitle {
			color: #9CB3F5;
			font-size: 15px;
			text-align:center;
		}
		.detailsDesc {
			line-height: 25px;
			text-indent: 20px;
			margin-top: 12px 0 20px;
			overflow: hidden;
			.desc_btm{
			  color:#999999;
			  font-size:12px;	
			}
		}
	}
</style>
